package org.linlinjava.litemall.db.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.linlinjava.litemall.db.dao.QualificationsMapper;
import org.springframework.stereotype.Service;

@Service
public class QualificationsService {
    @Resource
    private QualificationsMapper qualificationsMapper;

    public Map getShopAuthInfo(String query) {
        return qualificationsMapper.getShopAuthInfo(query);
    }

    public List<Map> getUserHerbs(String query) {
        return qualificationsMapper.getUserHerbs(query);
    }

    public List<Map> getUserHerbGenericNames(String query) {
        return qualificationsMapper.getUserHerbGenericNames(query);
    }

    public List<Map> getUserHerbGenericDescribeNames(String query) {
        return qualificationsMapper.getUserHerbGenericDescribeNames(query);
    }

    public List<Map> getApproveHerbs(String query) {
        return qualificationsMapper.getApproveHerbs(query);
    }
    
}
